/**
 * @(#)WeiboUtil.java 2017年4月22日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.util;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 微博
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public class WeiboUtil {
	public static final Logger LOGGER = LoggerFactory.getLogger(WeiboUtil.class);
	
	
	private static String PACK_NAME = PropertiesUtil.getValue("weibo_packname", "com.sina.weibo");

	/**
	 * 
	 * isWeibo:是否微博
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param apk
	 * @return
	 */
	public static boolean isWeibo(String apk) {
		if (apk != null && apk.toLowerCase().indexOf(PACK_NAME) >= 0) {
			return true;
		} else {
			return false;
		}
	}
	
}
